package com.example.springbootvue3.Service.impl;

import com.example.springbootvue3.Service.UserService;
import com.example.springbootvue3.mapper.UserMapper;
import com.example.springbootvue3.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User findbyId(Integer id) {
        return userMapper.findbyId(id);
    }
}
